import {Column, Entity, PrimaryColumn} from "typeorm";

/**
 * @name: star.entity
 * @data: 2024/5/29 10:59
 */
@Entity("star")
export default class Star {
  @PrimaryColumn({
    name:"star_id"
  })
  starId:number;
  @Column()
  name:string;
  @Column()
  character:string;
  @Column({name:"start_time"})
  startTime:string;
  @Column({name:"end_time"})
  endTime:string;
  @Column()
  describe:string;
  @Column({name:"lucky_color"})
  luckyColor:string;
  @Column({name:"lucky_stone"})
  luckyStone:string;
  @Column({name:"star_image"})
  starImage:string;
  @Column({name:"star_hous"})
  starHous:string;

}
